package com.tong.embeddedvr.dto.vo;

/**
 *
 * @author gcl
 * @version 1.0
 * @Description 该类用于将主机的所有信息发送给前端,该类的数据综合了HostDTO和HostAccountDTO
 * @date 2021/3/7 20:44
 */
public class HostInfoVO {
    private String hostIp;
    private int hostPort=22;
    private String hostAccountUsername;
    private String hostAccountPassword;

    public HostInfoVO() {
    }

    public HostInfoVO(String hostIp, int hostPort, String hostAccountUsername, String hostAccountPassword) {
        this.hostIp = hostIp;
        this.hostPort = hostPort;
        this.hostAccountUsername = hostAccountUsername;
        this.hostAccountPassword = hostAccountPassword;
    }

    public String getHostIp() {
        return hostIp;
    }

    public void setHostIp(String hostIp) {
        this.hostIp = hostIp;
    }

    public int getHostPort() {
        return hostPort;
    }

    public void setHostPort(int hostPort) {
        this.hostPort = hostPort;
    }

    public String getHostAccountUsername() {
        return hostAccountUsername;
    }

    public void setHostAccountUsername(String hostAccountUsername) {
        this.hostAccountUsername = hostAccountUsername;
    }

    public String getHostAccountPassword() {
        return hostAccountPassword;
    }

    public void setHostAccountPassword(String hostAccountPassword) {
        this.hostAccountPassword = hostAccountPassword;
    }

    @Override
    public String toString() {
        return "HostInfoVO{" +
                "hostIp='" + hostIp + '\'' +
                ", hostPort='" + hostPort + '\'' +
                ", hostAccountUsername='" + hostAccountUsername + '\'' +
                ", hostAccountPassword='" + hostAccountPassword + '\'' +
                '}';
    }
}
